#pragma once
#include "Collider.h"
#include "IPrimitiveRenderable.h"

const int bullet_lifetime = 40;


class Bullet :
	public GameObject
{
public:
	Bullet();
	virtual ~Bullet(void);
	virtual bool Update();
	bool IsDead();
	virtual ObjectType GetType();
protected:
	virtual void PreProcessMessages();
	virtual void PostProcessMessages();
	virtual void ProcessMessage(Message* msg);
	void PreGetRenderable();
};
